tester2 2.2.2
Loading...
Searching...
No Matches
tester2.h File Reference

This file contains API for Tester 2 Click Driver. More...

#include "drv_digital_out.h"
#include "drv_digital_in.h"

Go to the source code of this file.

Data Structures

struct  tester2_t
 Tester 2 Click context object. More...
struct  tester2_cfg_t
 Tester 2 Click configuration object. More...

Macros

#define TESTER2_MAP_MIKROBUS(cfg, mikrobus)
 MikroBUS pin mapping.

Enumerations

enum  tester2_return_value_t { TESTER2_OK = 0 , TESTER2_ERROR = -1 }
 Tester 2 Click return value data. More...

Functions

void tester2_cfg_setup (tester2_cfg_t *cfg)
 Tester 2 configuration object setup function.
err_t tester2_init (tester2_t *ctx, tester2_cfg_t *cfg)
 Tester 2 initialization function.
void tester2_toggle_all (tester2_t *ctx, uint16_t num_toggles, uint16_t toggle_delay_ms)
 Tester 2 toggle all function.
void tester2_toggle_seq (tester2_t *ctx, uint16_t toggle_delay_ms)
 Tester 2 toggle seq function.

Detailed Description

This file contains API for Tester 2 Click Driver.

Enumeration Type Documentation

◆ tester2_return_value_t

Tester 2 Click return value data.

Predefined enum values for driver return values.

Enumerator
TESTER2_OK 
TESTER2_ERROR